/**
 * @Version 1.0.0
 * @Author DemoHui
 * @Date 2022/09/30
 */
import Vue from "vue";
import SvgIcon from "@/components/SvgIcon";

// 注册全局组件
Vue.component("svg-icon", SvgIcon);

const requireAll = (requireContext) =>
  requireContext.keys().map(requireContext);
const req = require.context("./svg", false, /\.svg$/);
requireAll(req);
